package com.zby.ss.service.impl.constructIOC;

import com.zby.ss.dao.GenericDao;
import com.zby.ss.dao.OrderSnapshotDao;
import com.zby.ss.dao.UserDao;
import com.zby.ss.dao.impl.OrderSnapshotDaoImpl;
import com.zby.ss.dao.impl.UserDaoImpl;
import com.zby.ss.service.GenericService;
import com.zby.ss.service.OrderSnapshotService;
import com.zby.ss.service.impl.GenericServiceImpl;
import com.zby.ss.vo.OrderSnapshot;

/**
 * Created By zby on 10:43 2019/2/14
 */

public class OrderSnapshotConstructIOCServiceImpl extends GenericServiceImpl<OrderSnapshot> implements OrderSnapshotService {

    private OrderSnapshotDao orderSnapshotDao;

    private UserDao userDao;

    public OrderSnapshotConstructIOCServiceImpl(GenericDao<OrderSnapshot> genericDao, OrderSnapshotDao orderSnapshotDao, UserDao userDao) {
        super(genericDao);
        this.orderSnapshotDao = orderSnapshotDao;
        this.userDao = userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void setOrderSnapshotDao(OrderSnapshotDao orderSnapshotDao) {
        this.orderSnapshotDao = orderSnapshotDao;
    }
}
